<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_TEXTDIR}" lang="{S_LANGCODE}">
<head>
{S_HEADER_TAGS}
<link rel="stylesheet" type="text/css" href="{THEME_PATH}/style/style.css" />
<!-- IF S_MAIN_MENU or S_ADMIN_CSSMENU -->
<link rel="stylesheet" type="text/css" href="{THEME_PATH}/style/cpgmm.css" />
<!-- ENDIF -->
{CSS_IE}
</head>
<body>
<!-- IF S_ADMIN_MENU -->
<div id="adminmenu">{S_ADMIN_MENU}</div>
<!-- ENDIF -->
<table cellspacing="0" cellpadding="0" width="95%" align="center" border="0">
	<tbody>
	<tr>
		<td class="lefttd" width="10"><img src="{THEME_PATH}/images/spacer.gif" width="10" height="10" alt="" /></td>
		<td width="100%">
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td>
						<table class="headtable">
							<tr>
							<!-- IF S_FLASH -->
								<td class="head2"><a href="{U_MAININDEX}">{S_FLASH}</a></td>
							<!-- ELSE -->
								<td class="head2"><a href="{U_MAININDEX}"><img src="{THEME_PATH}/images/{S_LOGO}" alt="{S_SITENAME}" title="{S_SITENAME}" /></a></td>
							<!-- ENDIF -->
								<td class="head1" align="center" width="100%">{S_BANNER}</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
				<td>
<!-- Welcome and Clock row -->
					<table border="0" width="100%" cellspacing="0" cellpadding="0">
						<tr>
							<td width="10">{G_LEFTIMAGE}</td>
							<td><img src="{THEME_PATH}/images/spacer.gif" width="1" height="1" alt="" />
							<!-- IF S_IS_USER -->{S_WELCOME}
							<!-- ELSE -->Welcome Guest! Please <a href="/index.php?name=Your_Account&amp;file=register">Register</a> or <a href="/index.php?name=Your_Account">Login</a>
							<!-- ENDIF -->
							</td>
							<td align="right"><script language="javascript" type="text/javascript" src="{THEME_PATH}/systemclock.js"></script></td>
							<td align="right" width="10">{G_RIGHTIMAGE}</td>
						</tr>
					</table>
				</td>
				</tr>
<!-- IF S_MAIN_MENU -->
<!-- Display new CSS/DHTML drop-down menu -->
				<tr>
					<td class="headmenu">
						<table class="cssmenu">
							<tr>
<!-- Adjust width below to move Menu left or right -->
								<td><img src="{THEME_PATH}/images/spacer.gif" width="140" height="1" alt="" /></td>
								<td class="cssmenutd"><div id="menu">{S_MAIN_MENU}</div></td>
							</tr>
						</table>
						<table class="tbl">
							<tr>
								<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
								<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
								<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
							</tr>
						</table>
					</td>
				</tr>
<!-- ELSE -->
<!-- Display Classic top menu -->
				<tr>
				<td>
					<table border="0" width="100%" cellspacing="1" cellpadding="0" class="forumline">
						<tr class="navmenu">
							<td align="center" width="15%" class="row2"><a href="{U_MAININDEX}">
								<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_home.gif" width="20" height="20" alt="" /><br />
								{S_HOME}</a></td>
				<!-- IF S_DOWNLOADS -->
							<td align="center" width="15%" class="row2"><a href="{U_DOWNLOADS}">
							<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_downloads.gif" width="20" height="20" alt="" /><br />
							{S_DOWNLOADS}</a></td><!-- ENDIF -->
				<!-- IF S_FORUMS -->
							<td align="center" width="15%" class="row2"><a href="{U_FORUMS}">
							<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_forums.gif" width="20" height="20" alt="" /><br />
							{S_FORUMS}</a></td><!-- ENDIF -->
							<td align="center" width="15%" class="row2"><a href="{U_MY_ACCOUNT}">
							<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_profile.gif" width="20" height="20" alt="" /><br />
							{S_MY_ACCOUNT}</a></td>
				<!-- IF S_GALLERY -->
							<td align="center" width="15%" class="row2"><a href="{U_GALLERY}">
							<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_themes.gif" width="20" height="20" alt="" /><br />
							{S_GALLERY}</a></td><!-- ENDIF -->
				<!-- IF S_NEWS -->
							<td align="center" width="15%" class="row2"><a href="{U_NEWS}">
							<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_newfaq.gif" width="20" height="20" alt="" /><br />
							{S_NEWS}</a></td><!-- ENDIF -->
							<td align="center" width="15%" class="row2"><a href="{U_ADMININDEX}">
							<img src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_extras.gif" width="20" height="20" alt="" /><br />
							{S_ADMIN}</a></td>
						</tr>
					</table>
					<table class="tbl">
						<tr>
							<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
							<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
							<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
						</tr>
					</table>
				</td>
				</tr>
<!-- ENDIF -->		

				<tr>
					<td>
						<img src="{THEME_PATH}/images/spacer.gif" width="10" height="5" alt="" />
					</td>
				</tr>
				<tr>
					<td>
						<table class="maintable" width="100%">
							<tr>
<!-- IF S_LEFTBLOCKS -->
								<td class="mainside" id="pe600" {B_L_VISIBLE} style="padding-left: 5px">
  <!-- BEGIN leftblock -->
									<div class="blockhead">
									<img align="left" alt="Toggle Content" title="Toggle Content" id="pic{leftblock.S_BID}" src="{leftblock.S_IMAGE}.gif" onclick="blockswitch('{leftblock.S_BID}');" style="cursor:pointer" />
									<img src="{THEME_PATH}/images/spacer.gif" width="1" height="1" alt="" />
									{leftblock.S_TITLE}
									</div>
									<div class="blockcontent" id="pe{leftblock.S_BID}" {leftblock.S_VISIBLE}>
									{leftblock.S_CONTENT}
									</div>
									<table class="tbl">
										<tr>
											<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
										</tr>
									</table><br />
  <!-- END leftblock -->
								</td>
<!-- ENDIF -->
								<td class="main">
<!-- IF IMPORTANT_MESSAGE -->
									<center><span style="font-size: 12px; color: #FF0000">{IMPORTANT_MESSAGE}</span></center><br />
<!-- ENDIF -->
<!-- IF PAGE_TITLE -->
									<div class="pagetitle">{PAGE_TITLE}</div>
									<table class="tbl">
										<tr>
											<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
										</tr>
									</table><br />
<!-- ENDIF -->
<!-- BEGIN messageblock -->
									<table class="tbt">
										<tr>
											<td class="tbtl"><img src="{THEME_PATH}/images/forums/spacer.gif" width="22" height="22" alt="" /></td>
											<td class="tbtbot"><font size="3"><b>{messageblock.S_TITLE}</b></font></td>
											<td class="tbtr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="124" height="22" /></td>
										</tr>
									</table>
									<div class="table1">
										<div class="content" >{messageblock.S_CONTENT}</div><br />
										<div align="center">
								<!-- IF S_CAN_ADMIN -->
										[ {messageblock.S_OUTPUT} - {messageblock.S_REMAIN} - <a href="{messageblock.U_EDITMSG}">{messageblock.S_EDIT}</a> ]
								<!-- ELSE -->
										{messageblock.S_DATE}
								<!-- ENDIF -->
										</div>
									</div>
									<table class="tbl">
										<tr>
											<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
										</tr>
									</table><br />
<!-- END messageblock -->
<!-- BEGIN centerblock -->
									<table class="tbt">
										<tr>
											<td class="tbtl"><img src="{THEME_PATH}/images/forums/spacer.gif" width="22" height="22" alt="" /></td>
											<td class="tbtbot"><font size="3"><b>{centerblock.S_TITLE}</b></font></td>
											<td class="tbtr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="124" height="22" /></td>
										</tr>
									</table>
									<div class="table1">{centerblock.S_CONTENT}</div>
									<table class="tbl">
										<tr>
											<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
											<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
										</tr>
									</table><br />
<!-- END centerblock -->
